Create and initialize a multi-precision matrix filled with ones
rop = mps_ones( prec ) rop = mps_ones( m1, n1, prec ) mps_ones( rop )
Overloaded usage:
rop = ones( op )
multi-precision matrix
integers
Create and initialize a multi-precision matrix filled with the value 1
Create and initialize a scalar of precision
prec
initialized to 1.
Create and initialize a matrix of size (m1,n1)
with precision prec
filled with ones.
Set every element of rop
to 1.
Overloaded Scilab primitive ones(). Create a multi-precision
matrix the same size and precision as op
filled with ones.
The precision must be two bits or higher.
mpsA = mps_ones(100) mpsA = mps_ones(10,10,100) //Set every elements of mpsB to 1. mpsB = mps_init(10,10,100) mps_ones(mpsB) //Overloaded usage mpsA = ones(mpsB) | ![]() | ![]() |