# Questions tagged as 'matriz'

2

## How to count the objects in the image with PHP?

The original photo of the beans is this: Decreasetheresolutionofthephoto,Ialreadyappliedafiltertobeingrayscaleandincreasedthecontrasttothemaximumtobecomeblackandwhite.ThenIexaminedthecolorofeachpixelandmountedanarrayarray.IfIloopoverthisarra...
2

in>?
2

## How to calculate the determinant of a matrix in javascript?

Eg: det([-1, -2, 3], [3, 3, 1], [-1, 2, -3]) // retorna 22 Eg: det([1, 2], [2, 5]) // retorna 1 Eg: det([8]) // retorna 8
1

## Array parameter passing error

I'm trying to understand how pointers work for an array. For this, I elaborated the small program below. I made some mistake because, in the line indicated, segmentation fault is occurring. What is the correct way to pass the pointer pointi...
1

## What does i-thimo mean in an array?

What i-th means, I'm having trouble understanding its use in arrays and arrays.
1

## How to make a function inside a function return a vector?

I have a job for my course, and it is necessary to make a program similar to the megasena game. It's almost ready, but I'm finding a little problem and need help. Data of the work: maximum of 10 players can bet, each one can bet from 6 up to 15...
2

## Catching elements around a selected array

The idea is to create an array of integers with the amount of rows and columns defined by the user. Then an existing value in the array must be entered and the program should return the values immediately to the left, right, above and below the...
1

## Computational efficiency in R - lists or vectors

I'm studying computational efficiency in R, generating matrices through different methods. First, I generate an array of vector form and calculate the variances for its columns: matriz <- matrix(rep(NA, 1000*200), nrow = 1000, ncol=200)...
2