photo

Aron


Last seen: 7 maanden ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


Why do properties differ when I call them from the main file compared to when I call them in a method?
I'm working on an OOP assignment for an university and we have to simulate herds of cows, each herd as an object with methods li...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


How to round numbers using the decimals as a probability?
Hi, I am trying to create code where the decimals are used as probability of how the value is rounded. For example, I have array...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


How to return random unique values based only on the value in each row for the first colomn?
To get a sense of what I am trying to do: A = [1, 15200, 3, 5, 7; 15200, 15200, 15200, 7,0; 1,1,1,1, 15200; 9200, 1, 1,1,1]; ...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


Dot indexing is not supported for variables of this type. For an array in an object
Hi, i'm trying to make a method in a object which receives an array and the object itself as input arguments and uses a property...

meer dan een jaar ago | 1 answer | 0

1

answer