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

Stats:

CreatedDec 4, 2023
Warriors Trained9
Total Skips0
Total Code Submissions131
Total Times Completed5
Python Completions5
Total Stars0
% of votes with a positive feedback rating0% of 4
Total "Very Satisfied" Votes0
Total "Somewhat Satisfied" Votes0
Total "Not Satisfied" Votes4
Total Rank Assessments3
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • whenTheBabaIsYou Avatar
Ad