MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / toDenseVec

Method toDenseVec

JSAT/src/jsat/linear/DenseVector.java:484–487  ·  view source on GitHub ↗

Returns a new dense vector backed by the given array. This is a weak reference, the given array should no longer be altered - as it will effect the values of the dense vector. @param array the array to use as the backing of a dense vector @return a Dense Vector that is backed using the given array

(double... array)

Source from the content-addressed store, hash-verified

482 * @return a Dense Vector that is backed using the given array
483 */
484 public static DenseVector toDenseVec(double... array)
485 {
486 return new DenseVector(array);
487 }
488
489 @Override
490 public double[] arrayCopy()

Callers 15

get2ClassLinear2DMethod · 0.95
getCirclesMethod · 0.95
getHalfCirclesMethod · 0.95
setUpClassMethod · 0.95
setUpMethod · 0.95
testSolve_VecMethod · 0.95
testSolveVecMethod · 0.95
setUpClassMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
testDist_Vec_VecMethod · 0.95
testSolve_4argsMethod · 0.95

Calls

no outgoing calls

Tested by 15

get2ClassLinear2DMethod · 0.76
getCirclesMethod · 0.76
getHalfCirclesMethod · 0.76
setUpClassMethod · 0.76
setUpMethod · 0.76
testSolve_VecMethod · 0.76
testSolveVecMethod · 0.76
setUpClassMethod · 0.76
setUpMethod · 0.76
setUpMethod · 0.76
testDist_Vec_VecMethod · 0.76
testSolve_4argsMethod · 0.76