{# templates/import_export_batches/batch_list.html #} {% extends "template_base.html" %} {% block title %}List of Batches{% endblock %} {% block content %} {% load template_filters %}
< Back to Import Batches Index
| # | Batch Name | Action | Election | Processed | Total Records | Date Created |
|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ one_batch_set.batch_set_name }} | review | {% for election in election_list %} {% if election.google_civic_election_id|slugify == one_batch_set.google_civic_election_id|slugify %} {{ election.election_name }} - {{ election.google_civic_election_id }} - {{ election.election_day_text }} {% endif %} {% endfor %} | {{ one_batch_set.rows_processed }} | {{ one_batch_set.total_rows }} | {{ one_batch_set.import_date }} |
(no batches found)


I'm the eldest son in my family. I have a sister whose 2 years younger than me. She's currently a Grade 12 student at Cainta Senior High School.
I like to eat chocolates and drink coffee while I watch anime. I love playing mobile games like Growtopia, Soul Knight, and Osu! droid.
I don't have any particular skills or talent. I don't excel at drawing, singing, dancing, or any talents you can find on other people.
My only strength I could be proud of is being a determined hardworker. I love to learn anything about programming. Even it is very hard one, I always try my hardest to understand the lessons.
One of my many weaknesses is being very forgetful. I often forget the lessons that was discussed an hour or two ago. I find this weakness very annoying, because sometimes my mind just go blank even though I memorized a certain thing.
After I graduate, I see myself as a software developer. Maybe because it is a close job to my dream of becoming a game developer. I hope I managed to get rid of my annoying weakness before I graduate at college.


Brazil Q3 Formula 1 form shows Haas could've been 'best of rest' in 2019
by Jonathan NobleHaas Formula 1 boss Gunther Steiner says the speed of its Melbourne-specification car shows the outfit could have been a contender for "best of the rest" this season.
The team started the campaign strongly, but problems with an upgrade that it brought to the Spanish Grand Prix that did not work left it struggling for results.
It spent much of the campaign trying to get to the bottom of the issue and, in the end, it has recently been running its car in the original aero specification that it began the season with.
But following a double Q3 appearance at the Brazilian Grand Prix, Steiner says the team can only blame itself for going in the wrong direction with its development.
"We could have been in a good spot," said Steiner.
"But we have nobody else to blame than ourselves that we didn't react to [the problems] properly and adequately when we should have.
"So we just need to learn out of it and not go down that path again.
"I'm well aware of that and hopefully next year we can start off again as good as we did this year, but then keep on developing."
Steiner does not believe that the ultimate pace of the car in qualifying would have changed dramatically if the team had kept up development, but he says its race performance would have been dramatically different.
"I think it is not half a second [of lap time], it is more like the stability in the race," he said.
"That is what we are lacking and that comes with more downforce.
"So if you have half a second, we would be where we were in Melbourne: the best of the rest."
With Haas having slipped to ninth place in the constructors' championship, Steiner says he cannot be jealous of what other teams achieved this year by doing a better job - and finishing on the podium like Toro Rosso and McLaren did in Brazil.
"I think it's good for the sport to see these people on the podium but of course it is frustrating it should be us and not them," he said.
"I'm not angry against them.
"They got the chance and took the opportunity, and we didn't you know. Nobody is to blame but ourselves.
"We need to look at ourselves in the mirror and not at the other ones and what they did.
"We need to do as good as they did, but we cannot say they should not be there.
"They did the right thing.
"In the beginning they were not as good as us and they overtook us.
"What we did was not the right thing to do.
"We need to be brutally honest with ourselves."


BLUE SKY A film review by Mark R. Leeper Copyright 1994 Mark R. Leeper
Capsule review: A drama about the decay of the nuclear family set in 1962. Jessica Lange and Tommy Lee Jones star in a fresh and unpredictable film that concerns one family's domestic problems and national nuclear policy. This unusual film keeps the audience guessing where it is going and never talks down to the audience. Rating: low +2 (-4 to +4)
The year is 1962 and Major Hank Marshall (Tommy Lee Jones), a nuclear engineer, is advising the U.S. Army on nuclear testing. Meanwhile his wife Carly (Jessica Lange), a sexually precocious child in the body of an adult woman, is doing everything she can to embarrass him. She sees herself as a Marilyn Monroe type and flirts with reckless abandon. She is the main reason Hank has been reassigned from a pleasant posting in Hawaii to a disagreeable one on an ugly Army base in Alabama. Hank tries to keep a lid on the family problems in public and to keep the two daughters happy, but it is clear their mom needs more care and is more of a child than the children are. Hank has problems at home and with his work. Hank advocates nuclear underground testing when his commanders and the Atomic Energy Commission want to continue atmospheric testing. At first this seems an odd pairing of plots. One plot concerns a family disintegrating because of the wife's childish behavior and her husband's vain attempts to cover for her and to maintain an even keel. The other plot deals with national nuclear policy. And it is well into the film before the viewer has much of an idea where the story could possibly be going with two such diverse strands of plot. Eventually they will come together in a story about, of all things, character.
This was the last film directed by Tony Richardson, who is best known for his 1963 TOM JONES and who died three years ago. It may well also be the last film we will see from the now long defunct Orion Pictures. It is easy to see why this film waited so long for a release given the intelligence of the scripting and the originality of the plot. BLUE SKY was also a little lucky in that like CHINA SYNDROME and MAROONED, the subject matter happened to become considerably more topical after the film's completion than at the time the film was made.
Jessica Lange gets top billing, though her acting shows more than a little of her character in FRANCES. She is fleshy and sensual. But at the same time she is annoyingly like a spoiled child given to tantrums, not unlike the character's idol, Marilyn Monroe. Tommy Lee Jones gives his character just the right blend of military officiousness and occasional tenderness. Powers Boothe, always good, plays Hank's commanding officer who mixes into Hank's personal life as well as his professional life.
Richardson shows a visual sense in some of his more interesting scene segues. He takes us from the paradise of a Hawaiian beach to a nuclear-devastated landscape. His recreation of the early 60s has just about the right look, particularly the army base with its rundown post-war housing. In short his final film is one of his best in years. Lange's and Jones's performances and the originality of the story give this one a low +2 on the -4 to +4 scale.
Mark R. Leeper<EMAIL_ADDRESS>.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Class ObjectLayer
The ObjectLayer class representing Tiled object layer.
Info:
- Copyright: Łukasz Durniat, Jan-2018
- License: MIT
- Author: Łukasz Durniat
Methods
| ObjectLayer:init (data, map) | Create a new instance of an ObjectLayer object. |
| ObjectLayer:getObject (name, objectType) | Get an object by its name. |
| ObjectLayer:getObjects (name, objectType) | Get a list of objects by their name. |
| ObjectLayer:getObjectsWithProperty (name) | Gets a list of Objects on this ObjectLayer that have a specified property. |
| ObjectLayer:getObjectsWithName (name) | Gets a list of Objects on this ObjectLayer that have a certain name. |
| ObjectLayer:getObjectsWithType (objectType) | Gets a list of Objects on this ObjectLayer that have a certain type. |
| ObjectLayer:toggleVisibility () | Toggle visibility of the ObjectLayer. |
| ObjectLayer:show () | Shows the ObjectLayer. |
| ObjectLayer:hide () | Hides the ObjectLayer. |
| ObjectLayer:getVisual () | Gets the ObjectLayers visual. |
| ObjectLayer:move (x, y) | Moves the ObjectLayer. |
| ObjectLayer:setPosition (x, y) | Sets the position of the ObjectLayer. |
| ObjectLayer:setRotation (angle) | Sets the rotation of the ObjectLayer. |
| ObjectLayer:rotate (angle) | Rotates the ObjectLayer. |
| ObjectLayer:addObject (displayObject) | Adds a displayObject to the layer. |
| ObjectLayer:destroyObject (object) | Destroy an object by its reference. |
| ObjectLayer:create () | Creates the visual debug representation of the Object. |
| ObjectLayer:build () | Builds the physical representation of the ObjectLayer. |
| ObjectLayer:destroy () | Completely removes all visual and physical objects associated with the ObjectLayer. |
Methods
- ObjectLayer:init (data, map)
-
Create a new instance of an ObjectLayer object.
Parameters:
- data The JSON data.
- map The current Map object.
Returns:
-
The newly created object layer.
- ObjectLayer:getObject (name, objectType)
-
Get an object by its name.
Parameters:
- name The name of the Object to get.
- objectType The type of the Object to get. Optional.
Returns:
-
The found Object. nil if none found.
- ObjectLayer:getObjects (name, objectType)
-
Get a list of objects by their name.
Parameters:
- name The name of the Objects to get.
- objectType The type of the Objects to get. Optional.
Returns:
-
A list of the found Objects. Empty if none found.
- ObjectLayer:getObjectsWithProperty (name)
-
Gets a list of Objects on this ObjectLayer that have a specified property.
Parameters:
- name The name of the Property to look for.
Returns:
-
A list of found Objects. Empty if none found.
- ObjectLayer:getObjectsWithName (name)
-
Gets a list of Objects on this ObjectLayer that have a certain name.
Parameters:
- name The name of the Object to look for.
Returns:
-
A list of found Objects. Empty if none found.
- ObjectLayer:getObjectsWithType (objectType)
-
Gets a list of Objects on this ObjectLayer that have a certain type.
Parameters:
- objectType
- The type of the Object to look for.
Returns:
-
A list of found Objects. Empty if none found.
- objectType
- ObjectLayer:toggleVisibility ()
- Toggle visibility of the ObjectLayer.
- ObjectLayer:show ()
- Shows the ObjectLayer.
- ObjectLayer:hide ()
- Hides the ObjectLayer.
- ObjectLayer:getVisual ()
- Gets the ObjectLayers visual.
- ObjectLayer:move (x, y)
-
Moves the ObjectLayer.
Parameters:
- x The amount to move the ObjectLayer along the X axis.
- y The amount to move the ObjectLayer along the Y axis.
- ObjectLayer:setPosition (x, y)
-
Sets the position of the ObjectLayer.
Parameters:
- x The new X position of the ObjectLayer.
- y The new Y position of the ObjectLayer.
- ObjectLayer:setRotation (angle)
-
Sets the rotation of the ObjectLayer.
Parameters:
- angle The new rotation.
- ObjectLayer:rotate (angle)
-
Rotates the ObjectLayer.
Parameters:
- angle The angle to rotate by.
- ObjectLayer:addObject (displayObject)
-
Adds a displayObject to the layer.
Parameters:
- displayObject The displayObject to add.
Returns:
-
The added displayObject.
- ObjectLayer:destroyObject (object)
-
Destroy an object by its reference.
Parameters:
- object The Object reference of the Object to destroy.
- ObjectLayer:create ()
- Creates the visual debug representation of the Object.
- ObjectLayer:build ()
- Builds the physical representation of the ObjectLayer.
- ObjectLayer:destroy ()
- Completely removes all visual and physical objects associated with the ObjectLayer.


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface CompositeMap.MapMutator<K,V>
This interface allows definition for all of the indeterminate mutators in a CompositeMap, as well as providing a hook for callbacks on key collisions.
| Method Summary | |
|---|---|
V |
put(CompositeMap<K,V> map,
Map[] composited,
K key,
V value)
Called when the CompositeMap.put() method is invoked. |
void |
putAll(CompositeMap<K,V> map,
Map[] composited,
Map<? extends K,? extends V> mapToAdd)
Called when the CompositeMap.putAll() method is invoked. |
void |
resolveCollision(CompositeMap<K,V> composite,
Map<? extends K,? extends V> existing,
Map<? extends K,? extends V> added,
Collection<K> intersect)
Called when adding a new Composited Map results in a key collision. |
| Method Detail |
|---|
void resolveCollision(CompositeMap<K,V> composite, Map<? extends K,? extends V> existing, Map<? extends K,? extends V> added, Collection<K> intersect)
composite
- the CompositeMap with the collisionexisting
- the Map already in the composite which contains the
offending keyadded
- the Map being addedintersect
- the intersection of the keysets of the existing and added mapsV put(CompositeMap<K,V> map, Map[] composited, K key, V value)
map
- the CompositeMap which is being modifiedcomposited
- array of Maps in the CompositeMap being modifiedkey
- key with which the specified value is to be associated.value
- value to be associated with the specified key.
UnsupportedOperationException
- if not defined
ClassCastException
- if the class of the specified key or value
prevents it from being stored in this map.
IllegalArgumentException
- if some aspect of this key or value
prevents it from being stored in this map.
NullPointerException
- this map does not permit null
keys or values, and the specified key or value is
null.void putAll(CompositeMap<K,V> map, Map[] composited, Map<? extends K,? extends V> mapToAdd)
map
- the CompositeMap which is being modifiedcomposited
- array of Maps in the CompositeMap being modifiedmapToAdd
- Mappings to be stored in this CompositeMap
UnsupportedOperationException
- if not defined
ClassCastException
- if the class of the specified key or value
prevents it from being stored in this map.
IllegalArgumentException
- if some aspect of this key or value
prevents it from being stored in this map.
NullPointerException
- this map does not permit null
keys or values, and the specified key or value is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


--- layout: archive title: Zulip Chat Archive permalink: /stream/144837-PR-reviews/topic/.231368.20.60enumerable.60.20class.html ---
Any objections here?
Why is https://github.com/leanprover-community/mathlib/pull/1368/files#diff-2ebe174822a6a62138f573170d9fedc8R53 commented out? If you make the type enumerable \beta
it should be provable, right?
@Simon Hudon I think I'm missing card_eq_card
Why is https://github.com/leanprover-community/mathlib/pull/1368/files#diff-2ebe174822a6a62138f573170d9fedc8R53 commented out? If you make the type
enumerable \beta
it should be provable, right?
I think you're right. I removed it because it didn't prove useful but I can add it back in.
Simon Hudon I think I'm missing
card_eq_card
I'll write it
of_injective seems very useful I feel like you really need a one-sided inverse to your injection to make it work though, no?
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


No fonts are included with this keyboard package. The keyboard can be used with any font that supports the Unicode U+0400..U+04FF block of the Cyrillic script. In addition, a combining marcron is used over some of the vowels.
SIL's Yupik Cyrillic keyboard has been designed for typing the Central Siberian Yupik language in the Cyrillic script (ess-Cyrl). It is based on the layout of an earlier keyboard which had been implemented in the legacy encoding introduced into the SIL language project around 1990, but now implements that layout in Unicode.
1. In the charts below, when a keycap is displayed with two Cyrillic characters separated by a slash, press the key once to produce the first character, or twice to produce the second character. For example, pressing
once will output “я”, pressing it a second time will replace the “я” with “я̄”
2. The original character assigned to a remapped key can be produced by typing a “+” in front of it. For example, Pressing the ; key will produce Cyrillic “ь” as shown in the "Unshifted" chart below. But pressing the sequence +; will produce “;”
|
Character Name |
Character |
Keystrokes |
|
CYRILLIC SMALL LETTER SHORT U |
ў |
,u |
|
CYRILLIC CAPITAL LETTER SHORT U |
Ў |
,U |
|
LEFT SINGLE QUOTATION MARK |
‘ |
(- |
|
RIGHT SINGLE QUOTATION MARK |
’ |
-) |
|
LEFT DOUBLE QUOTATION MARK |
“ |
(= |
|
RIGHT DOUBLE QUOTATION MARK |
” |
=) |
|
SINGLE LEFT-POINTING ANGLE QUOTATION MARK |
‹ |
<- |
|
SINGLE RIGHT-POINTING ANGLE QUOTATION MARK |
› |
-> |
|
LEFT-POINTING DOUBLE ANGLE QUOTATION MARK |
« |
<= |
|
RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK |
» |
=> |
|
COPYRIGHT SIGN |
© |
(c) |


- family - Variable in class it.polimi.ingsw.GC_32.Client.GUI.Screen.FamilyMemberGUI
-
- family - Variable in class it.polimi.ingsw.GC_32.Client.GUI.Screen.ResourcePane
-
- familyColodDice - Static variable in class it.polimi.ingsw.GC_32.Server.Game.Effect.UniqueEffect
-
- familyColor(Board, Player, Action) - Static method in class it.polimi.ingsw.GC_32.Server.Game.MoveUtils
-
checks if the region is already occupied by a familiar of the same color
- familyColorBonus - Static variable in class it.polimi.ingsw.GC_32.Server.Game.Effect.UniqueEffect
-
- FamilyContextButton(String, ArrayList<FamilyMemberGUI>) - Static method in class it.polimi.ingsw.GC_32.Client.GUI.Screen.MenuButton
-
- FamilyMember - Class in it.polimi.ingsw.GC_32.Server.Game
-
- FamilyMember(Player) - Constructor for class it.polimi.ingsw.GC_32.Server.Game.FamilyMember
-
set up the family member, assigning a player to it
- FamilyMemberContext - Class in it.polimi.ingsw.GC_32.Client.GUI.Screen
-
- FamilyMemberContext() - Constructor for class it.polimi.ingsw.GC_32.Client.GUI.Screen.FamilyMemberContext
-
- FamilyMemberGUI - Class in it.polimi.ingsw.GC_32.Client.GUI.Screen
-
- FamilyMemberGUI(int, int, Color, int, int, int, int) - Constructor for class it.polimi.ingsw.GC_32.Client.GUI.Screen.FamilyMemberGUI
-
- familyMemberList - Variable in class it.polimi.ingsw.GC_32.Server.Game.Player
-
- familyMembers - Variable in class it.polimi.ingsw.GC_32.Client.Game.ClientPlayer
-
- familySixValor - Static variable in class it.polimi.ingsw.GC_32.Server.Game.Effect.UniqueEffect
-
- fillWith(StringBuilder, int, String) - Static method in class it.polimi.ingsw.GC_32.Client.CLI.CardCli
-
- fillWith(StringBuilder, int, String) - Method in class it.polimi.ingsw.GC_32.Client.Game.ClientBoard
-
- fillWith(StringBuilder, int, String) - Method in class it.polimi.ingsw.GC_32.Client.Game.ClientPlayer
-
- firstArg - Variable in class it.polimi.ingsw.GC_32.Common.Utils.Tuple
-
- flagEffect - Variable in class it.polimi.ingsw.GC_32.Server.Game.Card.LeaderCard
-
- flagEffect - Static variable in class it.polimi.ingsw.GC_32.Server.Game.Effect.ExcomunicateEffect
-
add a general flag, contained into the JSON description of the card, which will be added to the Flag list of the player affected by the excommuncation
- flagGameRule - Variable in class it.polimi.ingsw.GC_32.Server.Game.Board.PersonalBonusTile
-
- flags - Variable in class it.polimi.ingsw.GC_32.Server.Game.Player
-
- flushActionSpace() - Method in class it.polimi.ingsw.GC_32.Server.Game.Board.ActionSpace
-
free this actionSpace, removing all the family members on it
- flushBoard() - Method in class it.polimi.ingsw.GC_32.Server.Game.Board.Board
-
flush the board, calling the flushRegion() method of Region class on each Region of this board
- flushFamilyMember() - Method in class it.polimi.ingsw.GC_32.Client.Game.ClientActionSpace
-
remove all the family members on this action space
- flushFamilyMember() - Method in class it.polimi.ingsw.GC_32.Client.Game.ClientBoard
-
flush the board calling the flushFamilyMember() method on each region which compose the board
- flushFamilyMember() - Method in class it.polimi.ingsw.GC_32.Client.Game.ClientRegion
-
remove all the family member on all the action spaces of this region
- flushRegion() - Method in class it.polimi.ingsw.GC_32.Server.Game.Board.CouncilRegion
-
call the flushActionSpace() method on the councilSpace action space
- flushRegion() - Method in class it.polimi.ingsw.GC_32.Server.Game.Board.Region
-
flush this region, calling the flushActionSpace() method on all the action spaces which compose the region
- flushRegion() - Method in class it.polimi.ingsw.GC_32.Server.Game.Board.TowerRegion
-
- flushTowerLayer() - Method in class it.polimi.ingsw.GC_32.Server.Game.Board.TowerLayer
-
flush this tower layer, calling the flushActionSpace() method on the action space which compose this tower layer and setting as null the card field.


Kitsune.JSON
Summary↑
| collection(label, opts \\ []) | Nest a collection of other representations in the output |
| property(label, opts \\ []) | Adds a single property to the eventual json output |
Macros
Nest a collection of other representations in the output.
Examples
defmodule Album do
defstruct name: nil, songs: []
end
defmodule AlbumRepresenter do
use Kitsune.JSON
property :name
collection :songs, extend: SongRepresenter, from: Song
end
album = %Album{name: "Doggystyle", songs: [song, %Song{name: "Lodi Dodi"}]}
AlbumRepresenter.to_json(album)
#=> "{"name":"Doggystyle","songs":[{"title":"Gin and Juice"},{"title":"Lodi Dodi"}]}"
json = "{"name":"Doggystyle","songs":[{"title":"Gin and Juice"},{"title":"Lodi Dodi"}]}"
AlbumRepresenter.from_json(json, Album)
#=> %Album{name: "Doggystyle", songs: [%Song{name: "Gin and Juice"}, %Song{name: "Lodi Dodi"}]}
Adds a single property to the eventual json output.
Examples
defmodule Person do
defstruct name: nil, age: nil
end
defmodule PersonRepresenter do
use Kitsune.JSON
property :name
property :age
end
person = %Person{name: "Nikki", age: 18}
PersonRepresenter.to_json(person)
#=> "{"name":"Nikki","age":18}"
json = "{"name":"Nikki","age":18}"
PersonRepresenter.from_json(json, Person)
#=> %Person{ name: "Nikki", age: 18 }
defmodule Song do
defstruct name: nil
end
defmodule SongRepresenter do
use Kitsune.JSON
property :title, as: :name
end
song = %Song{name: "Gin and Juice"}
SongRepresenter.to_json(song)
#=> "{"title":"Gin and Juice"}"
json = "{"title":"Gin and Juice"}"
SongRepresenter.from_json(json, Song)
#=> %Song{name: "Gin and Juice"}


Booksters Reading List
No books yet!
Title
Author
Genre
Picked By:
Average Rating:
Rating coming soon!
Click to edit book details
More Info, Reviews and Rating
Rate this book
Edit
See details


|
| constexpr int | Dimension () const |
| | Returns the number of dimensions of the vector. More...
|
| |
| | Vector ()=default |
| | Constructs the vector. Does NOT zero-initialize elements. More...
|
| |
| | Vector (const Vector &)=default |
| |
| Vector & | operator= (const Vector &)=default |
| |
| | Vector (T all) |
| | Sets all elements to the same value.  More...
|
| |
| template<class T2 , bool Packed2, class = typename std::enable_if<(Dim >= 2> |
| | Vector (const Vector< T2, Dim - 1, Packed2 > &rhs) |
| | Creates a homogeneous vector by appending a 1. More...
|
| |
| template<class T2 , bool Packed2> |
| | Vector (const Vector< T2, Dim+1, Packed2 > &rhs) |
| | Truncates last coordinate of homogenous vector to create non-homogeneous. More...
|
| |
| template<class H1 , class H2 , class... Scalars, typename std::enable_if< traits::All< traits::IsScalar, H1, H2, Scalars... >::value &&traits::SumDimensions< H1, H2, Scalars... >::value==Dim, int >::type = 0> |
| | Vector (H1 h1, H2 h2, Scalars... scalars) |
| | Initializes the vector to the given scalar elements. More...
|
| |
| template<class H1 , class... Mixed, typename std::enable_if< traits::Any< traits::IsVectorOrSwizzle, H1, Mixed... >::value &&traits::SumDimensions< H1, Mixed... >::value==Dim, int >::type = 0> |
| | Vector (const H1 &h1, const Mixed &... mixed) |
| | Initializes the vector by concatenating given scalar and vector arguments. More...
|
| |
| template<class... Scalars, typename std::enable_if<((sizeof...(Scalars) > 1> |
| Vector & | Set (Scalars... scalars) |
| | Sets the vector's elements to the given scalars. More...
|
| |
| template<class... Mixed, typename std::enable_if<(sizeof...(Mixed) > 0> |
| Vector & | Set (const Mixed &... mixed) |
| | Sets the vector's elements by concatenating given scalar and vector arguments. More...
|
| |
| T | operator[] (int idx) const |
| | Returns the nth element of the vector. More...
|
| |
| T & | operator[] (int idx) |
| | Returns the nth element of the vector. More...
|
| |
| T | operator() (int idx) const |
| | Returns the nth element of the vector. More...
|
| |
| T & | operator() (int idx) |
| | Returns the nth element of the vector. More...
|
| |
| const T * | cbegin () const |
| | Returns an iterator to the first element. More...
|
| |
| const T * | begin () const |
| | Returns an iterator to the first element. More...
|
| |
| T * | begin () |
| | Returns an iterator to the first element. More...
|
| |
| const T * | cend () const |
| | Returns an iterator to the end of the vector (works like STL). More...
|
| |
| const T * | end () const |
| | Returns an iterator to the end of the vector (works like STL). More...
|
| |
| T * | end () |
| | Returns an iterator to the end of the vector (works like STL). More...
|
| |
| const T * | Data () const |
| | Returns a pointer to the underlying array of elements. More...
|
| |
| T * | Data () |
| | Returns a pointer to the underlying array of elements. More...
|
| |
template<class T, int Dim, bool Packed = false>
class mathter::Vector< T, Dim, Packed >
Represents a vector in N-dimensional space.
- Template Parameters
-
| T | The scalar type on which the vector is based. You can use builtin floating point or integer types. User-defined types and std::complex may also work, but are not yet officially supported. |
| Dim | The dimension of the vector-space. Must be a positive integer. Dynamically sized vectors are not supported yet, but you'll have to use mathter::DYNAMIC to define dynamically sized vectors. |
| Packed | Set to true to tightly pack vector elements and avoid padding of the vector struct. Disables SIMD optimizations. |
There is not much extraordinary to vectors, they work as you would expect.
- you can use common vector space airhtmetic
- you have common function like normalization
- you can multiply them with mathter::Matrix from either side
- you can concatenate and swizzle them.
template<class T, int Dim, bool Packed = false>
template<class H1 , class H2 , class... Scalars, typename std::enable_if< traits::All< traits::IsScalar, H1, H2, Scalars... >::value &&traits::SumDimensions< H1, H2, Scalars... >::value==Dim, int >::type = 0>
Initializes the vector to the given scalar elements.
Number of arguments must equal vector dimension. Types of arguments may differ from vector's underlying type, in which case explicit cast is performed.
template<class T, int Dim, bool Packed = false>
template<class H1 , class... Mixed, typename std::enable_if< traits::Any< traits::IsVectorOrSwizzle, H1, Mixed... >::value &&traits::SumDimensions< H1, Mixed... >::value==Dim, int >::type = 0>
Initializes the vector by concatenating given scalar and vector arguments.
Sum of the dimension of arguments must equal vector dimension. Types of arguments may differ from vector's underlying type, in which case explicit cast is performed.
template<class T, int Dim, bool Packed = false>
template<class... Scalars, typename std::enable_if<((sizeof...(Scalars) > 1>
Sets the vector's elements to the given scalars.
Number of arguments must equal vector dimension. Types of arguments may differ from vector's underlying type, in which case explicit cast is performed.
template<class T, int Dim, bool Packed = false>
template<class... Mixed, typename std::enable_if<(sizeof...(Mixed) > 0>
Sets the vector's elements by concatenating given scalar and vector arguments.
Sum of the dimension of arguments must equal vector dimension. Types of arguments may differ from vector's underlying type, in which case explicit cast is performed.