-
/** * Desc: 2D Matrix class * * @author Petr (http://www.sallyx.org/) * translated to SC by Dionysis Athinaios */ C2DMatrix { var <matrix; *new{ ^super.new.init; } init{ /* matrix = Matrix.newClear(3,3); */ matrix = Matrix.newIdentity(3); } ...
-
Matrix Superclass: Array original class by sc.solar Matrices are 2-dimensional Arrays whose slots may only contain (at the moment 'real' ) numbers. Their shape is fully described by the number of rows and columns(cols). Each element can be ...
-
... uel Negr‹o // GPLv3 - http://www.gnu.org/licenses/gpl-3.0.html LinTrans { var<> matrix; *new{ |matrix| ^super.newCopyArgs(matrix) } *rotation2D{ |theta| ^super.newCopyArgs(Matrix.with([[cos(theta),sin(theta).neg],[sin(theta),cos(theta)]])) ...
-
... a vector space Linear transformations in R^N or C^N. Wraps the functionality of Matrix to be able to easitly multiply matrixes with vectors (classes inheriting from AbstractVector). A LinTrans holds a matrix that represents the linear trans ...
-
... ic Toolkit (ATK) is a soundfield kernel support library. // // Class: FoaSpeakerMatrix // Class: FoaMatrix // Class: FoaDecoderMatrix // Class: FoaEncoderMatrix // Class: FoaXformerMatrix // Class: FoaDecoderKernel // Class: FoaEncoderKerne ...
-
// Till Bovermann, Uni Bielefeld 2006 Trafo { var <matrix; // a Matrix in homogene coordinates *basicNew{|matrix| ^super.new.init(matrix); } *newFromRotTrans{|rot, trans| var matrix; if (rot.isKindOf(Matrix), { matrix = rot.addCol(trans).ad ...
-
... Ambisonic Toolkit (ATK) is a soundfield kernel support library. // // Class: HoaMatrixEncoder // Class: HoaMatrixDecoder // Class: HoaMatrixXformer // // The Ambisonic Toolkit (ATK) is intended to bring together a number of tools and // met ...
-
... rmann // bielefeld unversity 2006 // inserted Christofer Fraunberger's code for matrix class Multiplication for compatibility reasons. // additional methods dan stowell 2008 Matrix[slot] : Array { *newClear { arg rows=1, cols=1; // return ( ...
-
/* Copyright Michael McCrea, 2019 M McCrea mtm5@uw.edu This file is part of the MatrixArray quark for SuperCollider 3 and is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publis ...
-
... }, \z, { // magenta color = Color.new(0.8, 0.2, 0.8); } ); ^color; } goRight { |matrix| // check if we can go right at all this.getParts.do { |part| if(part.isOuterRightPart) { // check if we are already on the outer right edge if(part.x >= ...