Criado por Eric Pereira
mais de 5 anos atrás
|
||
Questão | Responda |
SIMD | Single instruction Multiple Data - SIMD allows a processor to perform the same operation, on multiple data points, in a single processor cycle. Uses Vectorization to achieve this. |
Functions & Methods | Functions act as stand alone segments of code that usually take an input, perform some processing, and return some output. Len() can be used for lists & Strings. In contrast, methods are special functions that belong to a specific type of object. List.append() is a method but if you use it on string, you will get an error |
Elipsis | ... - three dots between data in Python |
Special Vectorized Ops ----------------------------------- vector_a % vector_b vector_a ** vector_b vector_a // vector_b Note: Shape of arrays/lists has to be the same | vector_a % vector_b - Modulus vector_a ** vector_b - Exponent vector_a // vector_b - Floor Division (divide vector_a by vector_b, rounding down to the nearest integer |
E-Notation | |
Quer criar seus próprios Flashcards gratuitos com GoConqr? Saiba mais.