In this post we will see what are and how to define multidimensional arrays. The most common multidimensional array is the matrix – a two dimension array. Despite the fact in our mind a two-dimension array is like a table, a matrix is in Java an array of arrays, like in this image (a two-dimension […]
Tag: Data Structures
Tutorial Java 6 – #4 Arrays
In this topic we will see how we define and process arrays data structures in Java. An array is a particular form of Java object that is used to store a homogeneous list of elements (each element of the vector has the same type as vector type – the base type). The number of elements […]
Tutorial Java – # 4.1 How to add a new element to a Java array
In this post we see what is the solution to the problem of adding a new element to an existing array. As we saw in the Java Tutorial 6 – #4 Arrays, arrays are objects which manage a homogeneous and compact list of items. Because the list of elements is a compact memory area in […]
C and C++ library of functions and procedures for matrix (bidimensional arrays) – Comparison functions
The comparison functions used for matrix processing are needed for finding more information about a matrix or group of matrices from the point of view of: the matrix type, its elements type or the apparition number of a key in the matrix. The function symmet checks if a matrix is a square or a symmetrical […]
C and C++ library of functions and procedures for matrix (bidimensional arrays) processing – Read and Write functions
To realize a real computation of matrices it must exist in the first place the matrix or the matrices. Having created an inadequate object for work with it, the results would be unexpected. Therefore we must pay the necessary attention to those functions that are creating a matrix. In this way we won’t have any […]
C and C++ library of functions and procedures for matrix (bidimensional arrays) processing – Introduction
Library source: C and C++ library of functions and procedures for matrix processing Language: C / C++Date: 04.2002Authors: Catalin Boja si Niculescu SilviuLicense: Creative Commons Attribution 3.0 License This post main objective is to tackle a series of aspects regarding the creation of a library that contains functions necessary in resolving the problems with matrices. […]
