Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

glsl-frobenius

1.0.0 • Public • Published

glsl-frobenius

Computes the Frobenius norm of a matrix in glsl (that is the sum of the squares of the entries of the matrix).

Example

#pragma glslify : frob = require(glsl-frobenius)

Usage

Install with npm:

npm install glsl-frobenius

Then use with glslify.

API

#pragma glslify : frobenius = require(glsl-frobenius)

float frobenius(float|mat2|mat3|mat4 m)

Computes the Frobenius norm of m

  • m is a matrix

Returns The Frobenius norm of m

License

MIT

install

npm i glsl-frobenius

Downloadsweekly downloads

0

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability