w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
identity

identity(n) Class Public methods Creates an n by n identity matrix. Matrix.identity(2) => 1 0 0 1 unit I

new

new(rows, column_count = rows[0].size) Class Public methods ::new is private; use ::rows, columns, [], etc⦠to create.

row_vector

row_vector(row) Class Public methods Creates a single-row matrix where the values of that row are as given in row. Matrix.row_vector([4,5,6]) => 4 5 6

rows

rows(rows, copy = true) Class Public methods Creates a matrix where rows is an array of arrays, each of which is a row of the matrix. If the optional argument copy is false, use the given arrays as the internal structure of the matrix without copying. Matrix.rows([[25, 93], [-1, 66]]) => 25 93 -1 66

scalar

scalar(n, value) Class Public methods Creates an n by n diagonal matrix where each diagonal element is value. Matrix.scalar(2, 5) => 5 0 0 5

unit

unit(n) Class Public methods Alias for: identity

zero

zero(row_count, column_count = row_count) Class Public methods Creates a zero matrix. Matrix.zero(2) => 0 0 0 0

*

*(m) Instance Public methods Matrix multiplication. Matrix[[2,4], [6,8]] * Matrix.identity(2) => 2 4 6 8

**

**(other) Instance Public methods Matrix exponentiation. Equivalent to multiplying the matrix by itself N times. Non integer exponents will be handled by diagonalizing the matrix. Matrix[[7,6], [3,9]] ** 2 => 67 96 48 99

+

+(m) Instance Public methods Matrix addition. Matrix.scalar(2,5) + Matrix[[1,0], [-4,7]] => 6 0 -4 12

Popular Articles
round (PHP 4, PHP 5, PHP 7) Rounds a float float round ( float $val [, int $precision = 0 [, int $mode
model_selection.StratifiedShuffleSplit() class sklearn.model_selection.StratifiedShuffleSplit(n_splits=10, test_size=0.1, train_size=None, random_state=None) [source] Stratified ShuffleS
tensorflow::Tensor::flat_outer_dims() TTypes< T, NDIMS >::Tensor tensorflow::Tensor::flat_outer_dims() Returns the data as an Eigen::Tensor with NDIMS dimensions, collapsing all Te
cross_validation.LeavePLabelOut() Warning DEPRECATED class sklearn.cross_validation.LeavePLabelOut(labels, p) [source] Leave-P-Label_Out cross-validation iterator Deprecated si
std::default_delete Defined in header <memory> template< class T > struct default_delete (1) (since C++11) template< class T > struct def


Page 548 of 11844

|< < Prev 545 546 547 548 549 550 551 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions