Changeset 37376 in project
 Timestamp:
 03/15/19 11:34:30 (2 years ago)
 File:

 1 copied
Legend:
 Unmodified
 Added
 Removed

wiki/eggref/5/glmath
r37369 r37376 5 5 6 6 === Requirements 7 * srfi1 7 8 * matchable 8 9 … … 33 34 <procedure> (m* A B [RESULT])</procedure> 34 35 35 Multiply matrix {{A}} bymatrix {{B}}. If the matrix {{RESULT}} is given, it will be modified to contain the results of the multiplication. If {{RESULT}} is {{#t}}, {{A}} and {{B}} must be f32vectors and the returned value will be an f32vector located in nongarbagecollected memory (the memory will still be freed when there are no more references to the matrix). If {{RESULT}} is not provided, {{A}} and {{B}} must be f32vectors and the returned value will be an f32vector located in normal garbage collected memory.36 Multiply matrix {{A}} with matrix {{B}}. If the matrix {{RESULT}} is given, it will be modified to contain the results of the multiplication. If {{RESULT}} is {{#t}}, {{A}} and {{B}} must be f32vectors and the returned value will be an f32vector located in nongarbagecollected memory (the memory will still be freed when there are no more references to the matrix). If {{RESULT}} is not provided, {{A}} and {{B}} must be f32vectors and the returned value will be an f32vector located in normal garbage collected memory. 36 37 37 38 <procedure> (m*s A S [RESULT])</procedure> … … 41 42 <procedure> (m+ A B [RESULT])</procedure> 42 43 43 Add matrix {{A}} withmatrix {{B}}. If the matrix {{RESULT}} is given, it will be modified to contain the results of the multiplication. If {{RESULT}} is {{#t}}, {{A}} and {{B}} must be f32vectors and the returned value will be an f32vector located in nongarbagecollected memory (the memory will still be freed when there are no more references to the matrix). If {{RESULT}} is not provided, {{A}} and {{B}} must be f32vectors and the returned value will be an f32vector located in normal garbage collected memory.44 Add matrix {{A}} by matrix {{B}}. If the matrix {{RESULT}} is given, it will be modified to contain the results of the multiplication. If {{RESULT}} is {{#t}}, {{A}} and {{B}} must be f32vectors and the returned value will be an f32vector located in nongarbagecollected memory (the memory will still be freed when there are no more references to the matrix). If {{RESULT}} is not provided, {{A}} and {{B}} must be f32vectors and the returned value will be an f32vector located in normal garbage collected memory. 44 45 45 46 <procedure> (m A B [RESULT])</procedure> … … 337 338 === Example 338 339 <enscript highlight="scheme"> 339 (import chicken scheme) 340 (use glmath) 340 (import glmath) 341 341 342 342 (define projectionmatrix … … 356 356 357 357 === Version history 358 359 ==== Version 0.9.0 360 15 March 2019 361 362 * Maintenance given to [[/users/koodaKooda]] 363 * Port to CHICKEN 5 364 358 365 359 366 ==== Version 0.8.0 … … 429 436 430 437 === Source repository 431 Source available on [[https://github.com/AlexCharlton/glmathGitHub]].432 433 Bug reports and patches welcome! Bugs can be reported via GitHub or to alex.n.charlton at gmail.434 435 436 === Author 438 Source available [[https://www.upyum.com/cgit.cgi/glmath/here]]. 439 440 Bug reports and patches welcome! Bugs can be reported to kooda@upyum.com 441 442 443 === Authors 437 444 Alex Charlton 445 446 Adrien (Kooda) Ramos 438 447 439 448 440 449 === Licence 441 450 BSD 451
Note: See TracChangeset
for help on using the changeset viewer.