public static final class PrimitiveMatrix.Factory extends Object
Modifier and Type | Method and Description |
---|---|
M |
columns(Access1D<?>... source) |
M |
columns(double[]... source) |
M |
columns(List<? extends Number>... source) |
M |
columns(Number[]... source) |
M |
copy(Access2D<?> source) |
FunctionSet<N> |
function() |
DR |
getBuilder(int count)
Deprecated.
v47 Use
makeDense(int) instead |
DR |
getBuilder(int rows,
int columns)
Deprecated.
v47 Use
makeDense(int,int) instead |
DR |
makeDense(int count) |
DR |
makeDense(int rows,
int columns) |
M |
makeEye(int rows,
int columns) |
M |
makeEye(Structure2D shape) |
M |
makeFilled(long rows,
long columns,
NullaryFunction<?> supplier) |
M |
makeIdentity(int dimension) |
M |
makeSingle(N element) |
SR |
makeSparse(int rows,
int columns) |
SR |
makeSparse(Structure2D shape) |
M |
makeWrapper(Access2D<?> elements) |
M |
makeZero(long rows,
long columns) |
M |
rows(Access1D<?>... source) |
M |
rows(double[]... source) |
M |
rows(List<? extends Number>... source) |
M |
rows(Number[]... source) |
Scalar.Factory<N> |
scalar() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
column, makeFilled, makeZero, row
public M columns(Access1D<?>... source)
public M columns(double[]... source)
@SafeVarargs public final M columns(List<? extends Number>... source)
public M columns(Number[]... source)
public M copy(Access2D<?> source)
public FunctionSet<N> function()
@Deprecated public DR getBuilder(int count)
makeDense(int)
instead@Deprecated public DR getBuilder(int rows, int columns)
makeDense(int,int)
insteadpublic DR makeDense(int count)
public DR makeDense(int rows, int columns)
public M makeEye(int rows, int columns)
public M makeEye(Structure2D shape)
public M makeFilled(long rows, long columns, NullaryFunction<?> supplier)
makeFilled
in interface Factory2D<M extends org.ojalgo.matrix.BasicMatrix<N,M>>
public M makeIdentity(int dimension)
public M makeSingle(N element)
public SR makeSparse(int rows, int columns)
public SR makeSparse(Structure2D shape)
public M makeWrapper(Access2D<?> elements)
public M makeZero(long rows, long columns)
public M rows(Access1D<?>... source)
public M rows(double[]... source)
public M rows(Number[]... source)
public Scalar.Factory<N> scalar()
Copyright © 2019 Optimatika. All rights reserved.