We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Absoluto
Indicar de acuerdo a la siguiente<. OP. Matemáticas -> Absoluto
//esta funcion esta escrita en Java, no es copiar y pegar, debes adecuar tu codigo en JS public static float[][][] abs(float [][][] arr) { int filas = arr.length, cols = arr[0].length; float [][] asal= new float [filas][cols]; for(int i=0; i<filas; i++) { for(int j=0; j<cols; j++) { asal[R][i][j] = (float)Math.abs(arr[R][i][j]); asal[G][i][j] = (float)Math.abs(arr[G][i][j]); asal[B][i][j] = (float)Math.abs(arr[B][i][j]); } } return asal; }
The text was updated successfully, but these errors were encountered:
VicktorDavid
No branches or pull requests
Nombre de la nueva característica
Absoluto
Menu donde debe aparecer
Indicar de acuerdo a la siguiente<.
OP. Matemáticas -> Absoluto
Material guia para su implementacion
//esta funcion esta escrita en Java, no es copiar y pegar, debes adecuar tu codigo en JS
public static float[][][] abs(float [][][] arr)
{
int filas = arr.length, cols = arr[0].length;
float [][] asal= new float [filas][cols];
for(int i=0; i<filas; i++)
{
for(int j=0; j<cols; j++)
{
asal[R][i][j] = (float)Math.abs(arr[R][i][j]);
asal[G][i][j] = (float)Math.abs(arr[G][i][j]);
asal[B][i][j] = (float)Math.abs(arr[B][i][j]);
}
}
return asal;
}
The text was updated successfully, but these errors were encountered: