About 39,600 results
Open links in new tab
  1. 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 …

  2. What are the "scalar fields" and "composite fields" in JAVA?

    Jul 11, 2019 · The terms 'scalar type' or 'scalar field' are usually used to contrast them with compound types/fields. A compound type is easiest to define and it is a type that contains …

  3. Recommended generic approach to checking scalar field presence …

    May 29, 2023 · There are several questions related to presence field tracking of scalar fields in protobuf 3, but I didn't find any with generic default approach recommendation.

  4. 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 …

  5. Why do heavily object-oriented languages avoid having functions …

    Oct 2, 2022 · In contrast, true object-oriented languages (Smalltalk, Ruby, Scalar, Eiffel, Emerald, Self, Raku) treat everything as an object which responds to methods. Everything.

  6. Paradigm for handling list of things or single elements

    Sep 5, 2017 · @KilianFoth: I don't think this applies here. "Composite design pattern" would require to wrap the passed parameter in an additional class hierarchy, but additional wrappers …

  7. c++ - If you follow the rule of Zero, how will you debug the ...

    Nov 28, 2017 · Typically "rule of zero" does not claim itself to be the universal truth. It is usually stated with the caveat that the more correct statement is "rule of (either five or zero, no in …

  8. Variables (scalars and matrices) assignment in Python

    Noted. Since the scalar is created using python, it is not behaving similar to array/matrix created by Numpy. I understand that: If we have to initialize 5 matrices, it is better to initialize …

  9. Why exactly does Java not allow numeric conditionals like if(5 ...

    May 12, 2017 · 0 Well, every scalar type in C, pointer, boolean (since C99), number (floating-point or not) and enumeration (due to direct mapping to numbers) has a "natural" falsey value, so …

  10. Strategy for storing mixed value and reference types without boxing

    Sep 21, 2014 · In C++ this could be an array of union of scalar and pointer types, but that strategy is unavailable (or at least highly unsafe) in .NET. This is a place where I really don't need a …