Sha256: a3b41740be4c64aa05adc0194286b46533a08a057c05d0f356acec8f5234fa63
Contents?: true
Size: 242 Bytes
Versions: 22
Compression:
Stored size: 242 Bytes
Contents
#!/usr/bin/env ruby require("gsl") include GSL::Blas a = GSL::Matrix.alloc([1, 5], [4, 6]) b = GSL::Matrix.alloc([10, 2], [3, 8]) c = GSL::Matrix.alloc(2, 2) p GSL::Blas.dgemm(NoTrans, NoTrans, 1, a, b, 1, c) p GSL::Blas.dgemm(a, b) p a*b
Version data entries
22 entries across 22 versions & 4 rubygems