About 40,600 results
Open links in new tab
  1. performance - Why does expressing calculations as matrix ...

    If I were to calculate the matrix multiplication in the second (matrix-based) image myself, as a human, I'd do it by sequentially doing each of the distinct calculations shown in the first (scalar) image.

  2. When is a feature considered a "First class citizen" in a programming ...

    Definition An object is first-class when it: can be stored in variables and data structures can be passed as a parameter to a subroutine can be returned as the result of a subroutine can be constructed at …

  3. design - C Const Safety with Struct Data Pointers - Software ...

    Apr 23, 2021 · Would const int32_t * const restrict pData work? I think that says that pData is a const pointer to a const int, but it's been a while since I used C much and I made minimal use of const at …

  4. terminology - What does it mean when data is scalar? - Software ...

    May 6, 2014 · The term "scalar" comes from linear algebra, where it is used to differentiate a single number from a vector or matrix. The meaning in computing is similar. It distinguishes a single value …

  5. What's faster.. Multiple variables or single array?

    The compiler may apply scalar replacement of aggregates (SRA, SRoA), which means the local array (which is used in elementwise single assignment way) approach and the local variables approach …

  6. Term for unit testing that separates test logic from test result data

    Btw, I've discovered one test execution framework which allows for shortening simple test notations to: test_me(); // 17 While thus the result data is no longer coded in (it's a comment), that's still not a …

  7. Are there advantages for using recursion over iteration - other than ...

    IMO, only eschew recursion if it can be done naturally and easily without a stack. (Or other non-scalar state and/or scope management structure.)

  8. I don't understand the arguments against operator overloading

    5 I somewhat agree. If you write multiply(j,5), j could be of a scalar or matrix type, making multiply() more or less complex, depending on what j is. However, if you abandon the idea of overloading …

  9. design - Best Practices for Redesigning a Database - Software ...

    I'm aware of some general best practices when designing a database for an application, but what about redesigning? I'm on a team tasked with re-designing an internal business application, though d...

  10. What is meant by a primitive data type?

    It kind of depends on the language. For example, in languages like C and C++, you have a number of built-in scalar types - int, float, double, char, etc. These are "primitive" in the sense that they cannot …