I have the following array:
a d k m
s j e r
t c f p
I put such array in an array as follows:
char[,] matriz = new char[3,4];
matriz[0,0] = 'a';
matriz[0,1] = 'd';
matriz[0,2] = 'k';
matriz[0,3] = 'm';
matriz[1,0] = 's'...
In order to get the inverse of an array, we can use different commands of R solve() , ginv() , etc. However, when trying to use these commands, an error occurs where we think the problem must be because there are negative values in t...
Using the lower triangularisation method, I have to calculate the determinant of a transposed matrix.
I want to calculate the determinant from the transposed matrix using the lower triangularization method, since the determinant has to be equ...
Can we subtract two arrays (or two vectors) that were written with different commands?
Example:
x<-array(1:4,c(4,1,1))
y<-cbind(c(1:4))
x-y
"Error> non-conformable objects"
Does this mean that both vectors have to use the same c...
In high school we usually study about the concept of Matrix, which consists of a row table and columns forming a set of numbers or elements.
In mathematics, programming and other areas we use Matrices so I would like to know the difference be...
I have the following array in the R:
FC12h FC10d FC6w
-8.44770875 -0.37171750 0
-56.72384575 2.64778150 2.94636550
-3.00214850 2.64778150 -1.57755700
I need some function that causes numbers greater than zero to...
I would like to add the number of lines to linhaPreta with only 0, and the linhaBranca with only 1.
public class Pixel {
public static void main(String[] args) {
int[][] img = {
{ 1, 1, 1, 1, 1, 1, 1, 1 },...
I'm trying to pass an array as a parameter to a function as a reference, and in this function I do operations on that array but I'm not getting it. I do not want you to use define or const int for the array dimension values because...
I want to store random numbers from 1 to 60 in an array. When there are equal numbers in the rows, it is to generate another random number.
Type, can not be: 11 55 55 43 49 30, but should be 11 55 52 43 49 30. There should be no repetitions....
Hello,
I have a problem, I do a Scanner to a txt file, then I invoke a method to go to count the lines of this file, after I return the number of lines (to give the size to the String Array equations), I want to go back again go through the file...