Ones
Create an \(m \times n\) matrix of all ones.
C API
-
ElError
ElOnes_i(ElMatrix_i A, ElInt m, ElInt n)
-
ElError
ElOnes_s(ElMatrix_s A, ElInt m, ElInt n)
-
ElError
ElOnes_d(ElMatrix_d A, ElInt m, ElInt n)
-
ElError
ElOnes_c(ElMatrix_c A, ElInt m, ElInt n)
-
ElError
ElOnes_z(ElMatrix_z A, ElInt m, ElInt n)
-
ElError
ElOnesDist_i(ElDistMatrix_i A, ElInt m, ElInt n)
-
ElError
ElOnesDist_s(ElDistMatrix_s A, ElInt m, ElInt n)
-
ElError
ElOnesDist_d(ElDistMatrix_d A, ElInt m, ElInt n)
-
ElError
ElOnesDist_c(ElDistMatrix_c A, ElInt m, ElInt n)
-
ElError
ElOnesDist_z(ElDistMatrix_z A, ElInt m, ElInt n)