Retired
Vectors (retired)
Description:
Create a vector() object that takes one list argument val. It must have the following methods: add(vect): returns the sum of the vectors sub(vect): subtracts self from vect scal(scalar): returns a scaled vector dot(vect): returns the dot product norm(): returns the absolute value of self isEquals(vect): returns True if self == vect toString(): returns a string and the following attributes: len: length list: returns data
Algorithms
Similar Kata:
Stats:
Created | Dec 4, 2023 |
Warriors Trained | 9 |
Total Skips | 0 |
Total Code Submissions | 131 |
Total Times Completed | 5 |
Python Completions | 5 |
Total Stars | 0 |
% of votes with a positive feedback rating | 0% of 4 |
Total "Very Satisfied" Votes | 0 |
Total "Somewhat Satisfied" Votes | 0 |
Total "Not Satisfied" Votes | 4 |
Total Rank Assessments | 3 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |