Lines Matching refs:NewMatrix
164 # TODO: adjust NewMatrix to use same arg order as Matrix (or vice-versa)
165 return NewMatrix( rep, basedomain, nrCols, list );
172 return NewMatrix( rep, basedomain, Length(list[1]), list );
179 return NewMatrix( rep, basedomain, NrCols(mat), Unpack(mat) );
193 return NewMatrix( rep, basedomain, nrCols, list );
205 return NewMatrix( rep, basedomain, Length(list[1]), list );
215 …return NewMatrix( DefaultMatrixRepForBaseDomain(basedomain), basedomain, NrCols(mat), Unpack(mat) …
229 return NewMatrix( rep, basedomain, nrCols, list );
240 return NewMatrix( rep, basedomain, Length(list[1]), list );
249 return NewMatrix( ConstructingFilter(example), BaseDomain(example), nrCols, list );
261 return NewMatrix( ConstructingFilter(example), BaseDomain(example), Length(list[1]), list );
268 # perhaps adjust NewMatrix to take an IsMatrixObj?
269 return NewMatrix( ConstructingFilter(example), BaseDomain(example), NrCols(mat), Unpack(mat) );
291 …return NewMatrix( rep, basedomain, cols, ListWithIdenticalEntries( rows * cols, Zero(basedomain) )…
313 return NewMatrix( rep, basedomain, dim, IdentityMat( dim, basedomain ) );