mat_vec_mul
stdlib/mat_vec_mul.nbv
mat_vec_mul(mat, vec)
No description.
- Calls
sum- Precompiles
assert_eq!,chunks_flat_map!,clone!,div_exact!,len!- Used by
bdlop/bdlop_r1cs_verify,lattice/lattice_absorb,lattice/lattice_expand,mersenne61/poseidon/poseidon_mersenne61_state,milli/poseidon/poseidon_milli_state,r1cs/r1cs_eval,slip/slip_r1cs_arg_verify
Source
(mat, vec)
static width = len! vec
static height = div_exact! (len! mat), width
assert_eq! width * height, len! mat
chunks_flat_map! mat, width, row {
sum(row * clone! vec)
}