FlexLinearAlgebra.FlexMatrix
— MethodFlexMatrix{T}(rows,cols)
creates a new FlexMatrix
with rows indexed by rows
, columns indexed by cols
and all zero entries of type T
(which is Number
if omitted).
FlexMatrix(v::FlexVector)
converts v
into a one-column FlexMatrix
whose sole column index is Int(1)
FlexLinearAlgebra.FlexVector
— MethodFlexVector{T}(idx)
creates a new FlexVector
with entries indexed by idx
filled with zeros of type T
(which defaults to Number
)
FlexLinearAlgebra.FlexConvert
— MethodFlexConvert(vec)
converts the vector vec
into a FlexVector
.
FlexLinearAlgebra.FlexOnes
— MethodFlexOnes(T,dom)
creates an all 1s vector indexed by dom
. If T
is missing, values default to Float64
.
FlexLinearAlgebra.col_keys
— Methodcol_keys(M::FlexMatrix)
returns a list of the keys to the columns of M
.
FlexLinearAlgebra.delete_col!
— Methoddelete_col!(A,c)
deletes row c
from the FlexMatrix
A
.
FlexLinearAlgebra.delete_entry!
— Methoddelete_entry!(v,x)
deletes the entry indexed by x
in the FlexVector
x
.
FlexLinearAlgebra.delete_row!
— Methoddelete_row!(A,r)
deletes row r
from the FlexMatrix
A
.
FlexLinearAlgebra.row_keys
— Methodrow_keys(M::FlexMatrix)
returns a list of the keys to the rows of M
.